const mongoose = require('mongoose');

const CommentSchema = new mongoose.Schema({
	replyFrom: { type: String },
	replyText: { type: String },
	pid: { type: String },
	time: {
		type: String,
		default: Date.now
	}
});

const Comment = mongoose.model('Comment', CommentSchema);
module.exports = {
	Comment
};
